Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump org.awaitility:awaitility from 4.0.2 to 4.2.0 #144

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 13, 2024

Bumps org.awaitility:awaitility from 4.0.2 to 4.2.0.

Changelog

Sourced from org.awaitility:awaitility's changelog.

Changelog 4.2.0 (2022-03-04)

  • Fixed a bug in the shutdown behavior of a polling thread. The wrong time unit was used causing executor shutdown to take way more time than expected in cases where it's stuck. Thanks to Claus Näveke for spotting this and for the initial PR.

  • Fixed a bug in which condition was not evaluated correctly with small intervals, such as: await().atMost(Duration.ofMillis(10)).pollInterval(Duration.ofMillis(5)).until(..); (issue 224). Thanks to Robby Decosemaeker for PR.

  • Upgraded the awaitility-kotlin module to use kotlin 1.6.10

  • Fail fast conditions can now be specified with assertions. For example:

    await().failFast(() -> assertThat(state).isNotEqualTo("Failed")).until(..);

    (issue 238)

Changelog 4.1.1 (2021-10-25)

  • Fixed a bug preventing you to specify "fib(-1)" when using the fibonacci poll interval (thanks to Björn Michael for pull request) (issue 201)
  • Avoid memory leak by caching only the original default uncaught exception handler globally (thanks to Oliver Grof for pull request (issue 221)
  • Added "conditionEvaluationListener" to Kotlin DSL

Changelog 4.1.0 (2021-05-08)

  • Upgraded to Scala from 2.13.3 to 2.13.5 (thanks to sullis for pull request)

  • Upgraded Kotlin from 1.3.72 to 1.5.0

  • Added support for fail-fast conditions. This is a special condition that, if fulfilled, will throw a "org.awaitility.core.TerminalFailureException" immediately, thus failing the test. This is good when you have a condition that you know beforehand should never be fulfilled. So instead of waiting the full duration of a normal condition evaluation period, the test will fail faster if this (fail fast) condition evaluates to true. For example:

    await().timeout(Duration.ofSeconds(5)).failFast(() -> orders.findById(1234).state == PAID).until(() -> orders.findById(1234).state == CLOSED);

    This will fail-fast if the state of order 1234 is ever equal to "PAID" during the 5 second evaluation of the condition specified in "until". (Thanks to Antony Stubbs for initial pull request) (issue 178)

  • Upgraded Groovy from version 3.0.4 to 3.0.8

Changelog 4.0.3 (2020-05-19)

  • Upgraded to Scala 2.13.2 from 2.13.0 (thanks to sullis for pull request)

  • Upgraded Kotlin extension to use Kotlin 1.3.72 (instead of 1.3.61)

  • Improved org.awaitility.core.ConditionEvaluationLogger to accept a consumer that decides how the logs are printed. You can use this to for example log intermediary values using slf4j instead of System.out.println or log to to disk or a data structure such as CopyOnWriteArrayList. For example:

    await().conditionEvaluationListener(new ConditionEvaluationLogger(log::info)).until();

    This will log using a the logger "log" instead of printing to the console.

  • Fixed problems with test dependencies in pom.xml

  • Upgraded Groovy from 2.5.7 to 3.0.4

Commits
  • b5d82b7 [maven-release-plugin] prepare release awaitility-4.2.0
  • 1ae0349 Preparing changelog for release
  • 386eccb Improve error message in test
  • fc45eb7 Fail fast conditions can now be specified with assertions
  • d39c00d Upgrading Kotlin to 1.6.10
  • f359e94 Formatted ConditionAwaiter
  • 9c9a79b Updated changelog to reflect the latest changes
  • 9e40d37 Fix #224 - handle immidiate success scenario (#228)
  • 3c9f345 Fixed a bug in the shutdown behavior of a polling thread. The wrong time unit...
  • c4962d8 Update README.md
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [org.awaitility:awaitility](https://github.com/awaitility/awaitility) from 4.0.2 to 4.2.0.
- [Changelog](https://github.com/awaitility/awaitility/blob/master/changelog.txt)
- [Commits](awaitility/awaitility@awaitility-4.0.2...awaitility-4.2.0)

---
updated-dependencies:
- dependency-name: org.awaitility:awaitility
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Feb 13, 2024
@dmlloyd dmlloyd merged commit ccf0dcb into main Feb 13, 2024
1 check passed
@dmlloyd dmlloyd deleted the dependabot/maven/org.awaitility-awaitility-4.2.0 branch February 13, 2024 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant